package com.fms.model.messaging.domain;

import java.util.ArrayList;
import java.util.List;

import com.fms.model.domain.FlowSheet;

/**
 * Simple class for holding information for a new message to
 * be sent out.
 * 
 * @author johnsba1
 *
 */
public class DraftMessage
{
	private String message;
	private FlowSheet sheet;
	private List<String> to;
	private String from;
	private String subject;
	
	
	/**
	 * Creates a new blank draft message
	 */
	public DraftMessage()
	{
		to = new ArrayList<String>();
	}

	//----------------------Getters and Setters ---------------------------------
	
	public String getSubject()
	{
		return subject;
	}

	public void setSubject(String subject)
	{
		this.subject = subject;
	}

	public String getFrom()
	{
		return from;
	}

	public String getMessage()
	{
		return message;
	}
	
	public void addTo(String _to)
	{
		to.add(_to);
	}
	
	public void setFrom(String _from)
	{
		this.from = _from;
	}

	public void setMessage(String message)
	{
		this.message = message;		
	}

	public FlowSheet getSheet()
	{
		return sheet;
	}

	public void setSheet(FlowSheet sheet)
	{
		this.sheet = sheet;
	}
	
	public List<String> getTo()
	{
		return to;
	}

	public void setTo(List<String> to)
	{
		this.to = to;
	}
	
	//------------------------------------------------------------
	
		
}
